import HomeView from "@/components/HomeView.vue";
import ErrorPage from "@/components/ErrorPage.vue";
import { IRoutes } from "../data";

// export const commonRoutes = <IRoutes[]>[
export const commonRoutes = [
  {
    path: "/",
    name: "我的",
    children: [
      { path: "/home", name: "首页", component: HomeView },
      { path: "/404", name: "404", component: ErrorPage },
    ],
  },
];
